#ifdef _WIN32
        #include "..\..\preproc.h"
        #include "..\..\list.h"
        #include <windows.h>
        char* slash = "\\";
#endif

#ifdef __linux__
        #include "../../list.h"
        #include "../../preproc.h"
        char* slash = "/";
#endif



rc_t __declspec (dllexport) set_obj_type(int argc, string* args, gvars_t* gvars)
{
	type_t type = 0;
	if(TEST(args[1],"STR"))
		type = STR_T;
	else if(TEST(args[1],"PTH"))
		type = PTH_T;
	else if(TEST(args[1],"FILE"))
		type = FILH_T;
	else if(TEST(args[1],"OBJ"))
		type = OBJ_T;
	else
		return ERROR;

	return set_type(gvars, args[0], type);
}
